package inits

import (
	"api-gateway/basic/init"
	"github.com/elastic/go-elasticsearch/v7"

	"video-srv/basic/config"
)

func Es() {
	cfg := elasticsearch.Config{
		Addresses: []string{
			"http://14.103.142.227:9200",
		},
		// ...
	}
	config.Es, init.err = elasticsearch.NewClient(cfg)
}
